﻿using System.Collections.Generic;

namespace In.Api.Dto.YBWs
{
    public class ExeYBPrescriptionPayResponse
    {
        /// <summary>
        /// 处理结果代码：0-成功
        /// </summary>
        public string ResultCode { get; set; }

        /// <summary>
        /// 处理结果描述
        /// </summary>
        public string ResultDesc { get; set; }

        /// <summary>
        /// 发药实体
        /// </summary>
        public List<ExePrescriptionPaySubDisWinInfoResponse> DisWinList { get; set; }

        /// <summary>
        /// 检查/检验地址
        /// </summary>
        public List<ExePrescriptionPaySubAddressInfoResponse> AddressList { get; set; }
    }

    /// 发药实体
    public class ExePrescriptionPaySubDisWinInfoResponse
    {
        /// <summary>
        /// 收据号
        /// </summary>
        public string RcptNo { get; set; }
        /// <summary>
        /// 新流水号
        /// </summary>
        public string VisitNo { get; set; }
        /// <summary>
        /// 发药地址
        /// </summary>
        public string DisWinAdd { get; set; }
        /// <summary>
        /// 发药窗口（先不显示）
        /// </summary>
        public string DisWin { get; set; }
    }

    //检查/检验地址实体
    public class ExePrescriptionPaySubAddressInfoResponse
    {
        /// <summary>
        ///项目类型：C- 检验单 D – 检查单
        /// </summary>
        public string ItemType { get; set; }

        /// <summary>
        /// 检查/检验单编号
        /// </summary>
        public string ExamId { get; set; }

        /// <summary>
        /// 检查/检验位置
        /// </summary>
        public string Location { get; set; }

        /// <summary>
        /// 取单时间
        /// </summary>
        public string FetchTime { get; set; }
    }
}
